package vh.android.multiconnector.library.model;

import android.content.Intent;

public interface ChannelListener {

	public enum ChannelStatus {
		NOT_FOUND, WRONG_PASSPHRASE, ALREADY_EXSISTS, ALREADY_JOINED
	}

	public void onChannelFound(Channel pChannel);

	public void onChannelError(String pChannelName, ChannelStatus pStatus);

	public void onChannelTimedout(Channel pChannel);

	public void onChannelClosed(Channel pChannel);

	public void onChannelCreated(Channel pChannel);

	public void onChannelEntered(Channel pChannel);

	public void onChannelLeft(Channel pChannel);

	public void onChannelPing(Channel pChannel);

	public void onChannelPacketReceived(Channel pChannel, Intent pPacket);

}
